export const listColumns = [{
    width: '50',
    type: 'selection',
    'reserve-selection': true
  },
  {
    'min-width': '180',
    prop: 'orderCode',
    label: '报台单号',
    'show-overflow-tooltip': true
  },
  {
    width: '150',
    prop: 'supplierName',
    label: '供应商',
    'show-overflow-tooltip': true
  },
  {
    width: '150',
    prop: 'productLineName',
    label: '产品线',
    'show-overflow-tooltip': true
  },
  {
    width: '200',
    prop: 'originalFactoryName',
    label: '原厂',
    'show-overflow-tooltip': true
  },
  {
    width: '100',
    prop: 'productCount',
    label: '产品数量'
  },
  {
    width: '140',
    prop: 'orderAmount',
    label: '产品总金额（元）'
  },
  // {
  //   width: '120',
  //   prop: 'busModel',
  //   label: '报台类型',
  //   formatter: row => (BUSMODEL_TYPE[Number(row.busModel)])
  // },
  {
    width: '120',
    prop: 'saleTargetName',
    label: '销售对象',
    'show-overflow-tooltip': true
  },
  {
    width: '160',
    prop: 'saleDateFront',
    label: '销售日期',
  },
  {
    width: '160',
    prop: 'commitDate',
    label: '创建报台日期'
  },
  {
    width: '120',
    prop: 'orderStatus',
    label: '状态',
    formatter: row => (ORDER_STATUS_TYPE[Number(row.orderStatus)])
  }, {
    minWidth: '180',
    prop: 'operation',
    label: '操作',
    fixed: 'right'
  }
];
const ORDER_STATUS_TYPE = {
  21: '生成',
  22: '冲红',
}
const BUSMODEL_TYPE = {
  1: '批发采购',
  2: '长期寄售',
  3: '手术平台',
  4: '其它',
}